
package cz.results.perzist.db4ocs;

// import com.db4o.cs.performance.OldVsNew;

import com.db4o.cs.server.*;
import java.io.IOException;
import java.io.File;

public class MyServer {
    public static final int PORT = 4488;            
    public static final String YAPF = "/home/server/testdb.yap";                
    
    public static void main(String[] args) throws IOException {
//        File f= new File(Db4oServer.DEFAULT_FILE);
        File f = new File(YAPF);        
        f.delete();
        
//        Db4oServer server = new Db4oServer(Db4oServer.DEFAULT_FILE, PORT);
        Db4oServer server = new Db4oServer(YAPF, PORT);        
        server.start();
        server.grantAccess("test", "test");
    }
}


